Part Number Hot Search : 
A5800809 EPA2188B 2SD18 14124 030K1F BCR114 IRFS630 E220A
Product Description
Full Text Search
 

To Download XR16C854DIV Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  exar corporation, 48720 kato road, fremont, ca 94538 (510) 668-7000 fax (510) 668-7017 xr16c854 rev. 1.00p plcc package quad uart with rx/tx fifo counters,128-byte fifo description the xr16c854 * 1 (854) is a universal asynchronous receiver and transmitter (uart) with a dual foot print interface compatible with the st16c554d/654 and st68c554/654. the 854 is an enhanced uart with 128 byte fifo?s, independent transmit and receive fifo counter, automatic hardware/software flow control, and data rates up to 1.5mbps. onboard status registers provide the user with error indications and operational status, modem interface control. system interrupts may be tailored to meet user requirements. an internal loop-back capability allows onboard diagnostics. the 854 is available in 64 pin tqfp, 68 pin plcc, and 100 pin qfp packages. the 64 pin package offers the 16 interface mode which is compatible with the industry standard st16c554. the 68 and 100 pin packages offer an additional 68 mode which allows easy integration with motorola, and other popular microprocessors. the xr16c854cv (64 pin) offers three state interrupt control while the xr16c854dv provides constant active interrupt outputs. the 64 pin devices do not offer txrdy/rxrdy outputs or the default clock select option (clksel). the 100 pin packages offer faster channel status access by providing separate outputs for txrdy and rxrdy, offer separate infrared tx outputs and a musical instrument clock input (midiclk). the 854 combines the package interface modes of the 16c554/654 and 68c554/654 series on a single integrated chip. features compatibility with the industry standard st16c554/654, st68c554/654, tl16c554 1.5 mbps transmit/receive operation (24mhz) 128 byte transmit and receive fifo independent transmit and receive fifo counter automatic software/hardware flow control programmable xon/xoff characters software selectable baud rate generator pre- scaleable clock rates of 1x, 4x. four selectable, and programmable transmit/ receive fifo interrupt trigger levels standard modem interface or infrared irda en- coder/decoder interface software flow control turned off optionally by any (xon) rx character independent midi interface on 100 pin packages 100 pin packages offer internal register fifo monitoring and separate irda tx outputs sleep mode ( 200 m a stand-by) ordering information part number pins package o perating temperature xr16c854cj 68 plcc 0 c to + 70 c xr16c854cv 64 tqfp 0 c to + 70 c xr16c854dcv 64 tqfp 0 c to + 70 c xr16c854cq 100 qfp 0 c to + 70 c part number pins package operating temperature xr16c854ij 68 plcc -40 c to + 85 c xr16c854iv 64 tqfp -40 c to + 85 c XR16C854DIV 64 tqfp -40 c to + 85 c xr16c854iq 100 qfp -40 c to + 85 c note *1: patent pending 9 8 7 6 5 4 3 2 1 68 67 66 65 64 63 62 63 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 -dsra -ctsa -dtra vcc -rtsa inta -csa txa -iow txb -csb intb -rtsb gnd -dtrb -ctsb -dsrb -cdb -rib rxb clksel 16/-68 a2 a1 a0 xtal1 xtal2 reset -rxrdy -txrdy gnd rxc -ric -cdc -dsrd -ctsd -dtrd gnd -rtsd intd -csd txd -ior txc -csc intc -rtsc vcc -dtrc -ctsc -dsrc -cda -ria rxa gnd d7 d6 d5 d4 d3 d2 d1 d0 intsel vcc rxd -rid -cdd xr16c854cj 16 mode preliminary information
xr16c854 2 rev. 1.00p 100 pin qfp package 64 pin tqfp package 68 pin plcc package figure 1, package descriptions 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 n.c. n.c. n.c. n.c. -txrdya irtxa -dsra -ctsa -dtra vcc -rtsa inta -csa txa -iow txb -csb intb -rtsb gnd -dtrb -ctsb -dsrb irtxb -txrdyb n.c. n.c. n.c. n.c. n.c. -rxrdyb -cdb -rib rxb clksel 16/-68 a2 a1 a0 xtal1 xtal2 midiclk reset -rxrdy -txrdy gnd rxc -ric -cdc -rxrdyc n.c. n.c. n.c. n.c. -csrdy irtxd -dsrd -ctsd -dtrd gnd -rtsd intd -csd txd -ior txc -csc intc -rtsc vcc -dtrc -ctsc -dsrc irtxc -txrdyc n.c. n.c. n.c. n.c. n.c. -rxrdya -cda -ria rxa gnd d7 d6 d5 d4 d3 d2 d1 d0 intsel vcc rxd -rid -cdd -rxrdyd -txrdyd xr16c854cq 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 -dsra -ctsa -dtra vcc -rtsa inta -csa txa -iow -txb -csb intb -rtsb gnd -dtrb -ctsb -dsrb -cdb -rib rxb vcc a2 a1 a0 xtal1 xtal2 reset gnd rxc -ric -cdc -dsrc -dsrd -ctsd -dtrd gnd -rtsd intd -csd txd -ior txc -csc intc -rtsc vcc -dtrc -ctsc -cda -ria rxa gnd d7 d6 d5 d4 d3 d2 d1 d0 vcc rxd -rid -cdd xr16c854cv xr16c854dcv 9 8 7 6 5 4 3 2 1 68 67 66 65 64 63 62 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 -dsra -ctsa -dtra vcc -rtsa -irq -cs txa r/-w txb a3 n.c. -rtsb gnd -dtrb -ctsb -cdb -rib rxb clksel 16/-68 a2 a1 a0 xtal1 xtal2 -reset -rxrdy -txrdy gnd rxc -ric -dsrd -ctsd -dtrd gnd -rtsd n.c. n.c. txd n.c. txc a4 n.c. -rtsc vcc -dtrc -ctsc -cd a -ria rxa gnd d7 d6 d5 d4 d3 d2 d1 d0 n.c. vcc rxd -rid xr16c854cj 68 mode
xr16c854 3 rev. 1.00p figure 2, block diagram 16 mode d0-d7 -ior -iow reset a0-a2 -cs a-d int a-d -rxrdy a-d -txrdy a-d intsel -dtr a-d -rts a-d -cts a-d -ri a-d -cd a-d -dsr a-d tx a-d rx a-d rxir a-d xtal1 midi xtal2 data bus & control logic register select logic modem control logic interrupt control logic transmit fifo registers flow control logic transmit shift register receive fifo registers flow control logic receive shift register inter connect bus lines & control signals clock & baud rate generator ir encoder ir decoder
xr16c854 4 rev. 1.00p figure 3, block diagram 68 mode d0-d7 r/-w -reset a0-a4 -cs irq -rxrdy a-d -txrdy a-d -dtr a-d -rts a-d -cts a-d -ri a-d -cd a-d -dsr a-d tx a-d rx a-d rxir a-d xtal1 midi xtal2 data bus & control logic register select logic modem control logic interrupt control logic transmit fifo registers flow control logic transmit shift register receive fifo registers flow control logic receive shift register inter connect bus lines & control signals clock & baud rate generator ir encoder ir decoder
xr16c854 5 rev. 1.00p symbol description symbol pin signal pin description 68 100 64 type 16/-68 31 36 - i 16/68 interface type select (input with internal pull-up). - this input provides the 16 (intel) or 68 (motorola) bus interface type select. the functions of -ior, -iow, int a- d, and -cs a-d are re-assigned with the logical state of this pin. when this pin is a logic 1, the 16 mode interface 16c554 is selected. when this pin is a logic 0, the 68 mode interface (68c554) is selected. when this pin is a logic 0, -iow is re- assigned to r/-w, reset is re-assigned to -reset, -ior is not used, and int a-d(s) are connected in a wire-or? configuration. the wire-or outputs are connected inter- nally to the open source irq signal output. this pin is not available on 64 pin packages which operate in the 16 mode only. a0 34 39 24 i address-0 select bit. internal registers address selection in 16 and 68 modes. a1 33 38 23 i address-1 select bit. internal registers address selection in 16 and 68 modes. a2 32 37 22 i address-2 select bit. - internal registers address selection in 16 and 68 modes. a3-a4 20,50 17,64 - i address 3-4 select bits. - when the 68 mode is selected, these pins are used to address or select individual uart?s (providing -cs is a logic 0). in the 16 mode, these pins are reassigned as chip selects, see -csb and -csc. these pins are not available on 64 pin packages which operate in the 16 mode only. clksel 30 35 - i clock select. - the 1x or 4x pre-scaleable clock is selected by this pin. the 1x clock is selected when clksel is a logic 1 (connected to vcc) or the 4x is selected when clksel is a logic 0 (connected to gnd). mcr bit-7 can override the state of this pin following reset or initialization (see mcr bit- 7). this pin is not available on 64 pin packages which provide mcr bit-7 selection only. -cs 16 13 - i chip select. (active low) - in the 68 mode, this pin functions as a multiple channel chip enable. in this case, all four
xr16c854 6 rev. 1.00p symbol description symbol pin signal pin description 68 100 64 type uarts (a-d) are enabled when the -cs pin is a logic 0. an individual uart channel is selected by the data contents of address bits a3-a4. when the 16 mode is selected (68/100 pin devices), this pin functions as -csa, see definition under -cs a-b. this pin is not available on 64 pin packages which operate in the 16 mode only. -cs a-b 16,20 13,17 7,11 -cs c-d 50,54 64,68 38,42 i chip select a, b, c, d (active low) - this function is associated with the 16 mode only, and for individual chan- nels, ?a? through ?d.? when in 16 mode, these pins enable data transfers between the user cpu and the xr16c854 for the channel(s) addressed. individual uart sections (a, b, c, d) are addressed by providing a logic 0 on the respective -cs a-d pin. when the 68 mode is selected, the functions of these pins are reassigned. 68 mode functions are de- scribed under the their respective name/pin headings. -csrdy - 76 - i control status ready (active low) - this feature is available on 100 pin qfp packages only. on 100 pin packages, the contents of the fifordy register is read when this pin is a logic 0. however it should be noted, d0-d3 will contain the inverted logic states of txrdy, status bits a-d, and d4-d7 the inverted logic states of rxrdy, status bits d4-d7. d0-d2 66-68 88-90 53-55 i/o d3-d7 1-5 91-95 56-60 data bus (bi-directional) - these pins are the eight bit, three state data bus for transferring information to or from the controlling cpu. d0 is the least significant bit and the first data bit in a transmit or receive serial data stream. gnd 6,23 96,20 14,28 gnd 40,57 46,71 45,61 pwr signal and power ground. int a-b 15,21 12,18 6,12 int c-d 49,55 63,69 37,43 o interrupt a, b, c, d (active high) - this function is associated with the 16 mode only. these pins provide individual channel interrupts, int a-d. int a-d are enabled when mcr bit-3 is set to a logic 1, interrupts are enabled in the interrupt enable register (ier), and when an interrupt con-
xr16c854 7 rev. 1.00p symbol description symbol pin signal pin description 68 100 64 type dition exists. interrupt conditions include: receiver errors, available receiver buffer data, transmit buffer empty, or when a modem status flag is detected. when the 68 mode is selected, the functions of these pins are reassigned. 68 mode functions are described under the their respective name/pin headings. intsel 65 87 - i interrupt select. (active high, with internal pull-down) - this function is associated with the 16 mode only. when the 16 mode is selected, this pin can be used in conjunction with mcr bit-3 to enable or disable the three state interrupts, int a-d or override mcr bit-3 and force continuous interrupts. interrupt outputs are enabled continuously by making this pin a logic 1. making this pin a logic 0 allows mcr bit-3 to control the three state interrupt output. in this mode, mcr bit-3 is set to a logic ?1? to enable the three state outputs. this pin is disabled in the 68 mode. due to pin limitations on 64 pin packages, this pin is not available. to cover this limitation, two 64 pin qfp package versions are offered. the xr16c854dcv operates in the continuos interrupt enable mode by bonded this pin to vcc internally. the xr16c854cv operates with mcr bit-3 control by bonding this pin to gnd. -ior 52 66 40 i input/output read. (active low strobe) - this function is associated with the 16 mode only. a logic 0 transition on this pin will load the contents of an internal register defined by address bits a0-a2 onto the xr16c854 data bus (d0-d7) for access by an external cpu. this pin is disabled in the 68 mode. -iow 18 15 9 i input/output write. (active low strobe) - this function is associated with the 16 mode only. a logic 0 transition on this pin will transfer the contents of the data bus (d0-d7) from the external cpu to an internal register that is defined by address bits a0/a2. when the 16 mode is selected (68/100 pin devices), this pin functions as r/-w, see definition under r/w.
xr16c854 8 rev. 1.00p symbol description symbol pin signal pin description 68 100 64 type -irq 15 12 - o interrupt request or interrupt ?a? - this function is associ- ated with the 68 mode only. in the 68 mode, interrupts from uart channels a-d are wire-or?ed? internally to function as a single irq interrupt. this pin transitions to a logic 0 (if enabled by the interrupt enable register) whenever a uart channel(s) requires service. individual channel interrupt status can be determined by addressing each channel through its associated internal register, using -cs and a3- a4. in the 68 mode an external pull-up resistor must be connected between this pin and vcc. the function of this pin changes to inta when operating in the 16 mode, see definition under inta. irtx a-b - 6,24 - irtx c-d - 57,75 - o infrared transmit data output (irda) - this function is associated with 100 pin packages only. these pins provide separate infrared irda tx outputs for uart channel?s (a- d). the serial infrared irtx data is transmitted via these pins with added start, stop and parity bits. the irtx signal will be a logic 0 during reset, idle (no data), or when the transmitter is disabled. mcr bit-6 selects the standard modem or infrared interface. midiclk - 42 - i midi (musical instrument digital interface) clock input - this function is associated with 100 pin packages only. rxc and txc can function as midi input/output ports when an external midi clock is provided at this pin. external clock or a crystal is connected to the xtal2 pins for normal operation (see xtal 1 & 2). -reset reset 37 43 27 i reset. - in the 16 mode a logic 1 on this pin will reset the internal registers and all the outputs. the uart transmitter output and the receiver input will be disabled during reset time. (see xr16c854 external reset conditions for initial- ization details.) when 16/-68 is a logic 0 (68 mode), this pin functions similarly but, as an inverted reset interface signal, -reset.
xr16c854 9 rev. 1.00p symbol description symbol pin signal pin description 68 100 64 type r/-w 18 15 - i read/write strobe (active low) - this function is associated with the 68 mode only. this pin provides the combined functions for read or write strobes. a logic 1 to 0 transition transfers the contents of the cpu data bus (d0-d7) to the register selected by -cs and a0-a4. similarly a logic 0 to 1 transition places the contents of a 854 register selected by -cs and a0-a4 on the data bus, d0-d7, for transfer to an external cpu. -rxrdy 38 44 - o receive ready (active low) - this function is associated with 68 and 100 pin packages only. -rxrdy contains the wire ?or-ed? status of all four receive channel fifo?s, rxrdy a-d. a logic 0 indicates receive data ready status, i.e. the rhr is full or the fifo has one or more rx characters available for unloading. this pin goes to a logic 1 when the fifo/rhr is full or when there are no more characters available in either the fifo or rhr. the 100 pin chip-sets provide both the combined wire ?or?ed? output and individual channel rxrdy-a-d outputs. rxrdy a-d is discussed in a following paragraph. for 64/68 pin packages, individual channel rx status is read by examining indi- vidual internal registers via -cs and a0-a4 pin functions. -rxrdy a-b - 100,31 -rxrdy c-d - 50,82 - o receive ready a-d (active low) - this function is associ- ated with 100 pin packages only. this function provides the rx fifo/rhr status for individual receive channels (a-d). a logic 0 indicates there is receive data to read/unload, i.e., receive ready status with one or more rx characters available in the fifo/rhr. this pin is a logic 1 when the fifo/rhr is empty or when the programmed trigger level has not been reached. -txrdy 39 45 - o (active low) - this function is associated with 68 and 100 pin packages only. -txrdy contains the wire ?or-ed? status of all four transmit channel fifo?s, txrdy a-d. a logic 0 indicates a buffer ready status, i.e., at least one location is empty and available in one of the tx channels (a-d). this pin goes to a logic 1 when all four channels have no more empty locations in the tx fifo or thr. the 100 pin chip-
xr16c854 10 rev. 1.00p symbol pin signal pin description 68 100 64 type symbol description sets provide both the combined wire ?or?ed? output and individual channel txrdy-a-d outputs. txrdy a-d is discussed in a following paragraph for 64/68 pin packages, individual channel tx status can be read by examining individual internal registers via -cs and a0-a4 pin func- tions. -txrdy a-b - 5,25 -txrdy c-d - 56,81 - o this function is associated with 100 pin packages only. these outputs provide the tx fifo/thr status for indi- vidual transmit channels (a-d). as such, an individual channel?s -txrdy a-d buffer ready status is indicated by logic 0, i.e., at least one location is empty and available in the fifo or thr. this pin goes to a logic 1 when there are no more empty locations in the fifo or thr. vcc 13 10 4,21 vcc 47,64 61,86 35,52 i power supply inputs. xtal1 35 40 25 i crystal or external clock input - functions as a crystal input or as an external clock input. a crystal can be connected between this pin and xtal2 to form an internal oscillator circuit (see figure 8). alternatively, an external clock can be connected to this pin to provide custom data rates (see baud rate generator programming and optional midclk). xtal2 36 41 26 o output of the crystal oscillator or buffered clock - (see also xtal1). crystal oscillator output or buffered clock output. -cd a-b 9,27 99,32 64,18 -cd c-d 43,61 49,83 31,49 i carrier detect (active low) - these inputs are associated with individual uart channels a through d. a logic 0 on this pin indicates that a carrier has been detected by the modem for that channel. -cts a-b 11,25 8,22 2,16 -cts c-d 45,59 59,73 33,47 i clear to send (active low) - these inputs are associated with individual uart channels, a through d. a logic 0 on the - cts pin indicates the modem or data set is ready to accept transmit data from the 854. status can be tested by reading
xr16c854 11 rev. 1.00p symbol pin signal pin description 68 100 64 type symbol description msr bit-4. this pin only affects the transmit and receive operations when auto cts function is enabled via the enhanced feature register (efr) bit-7, for hardware flow control operation. -dsr a-b 10,26 7,23 1,17 -dsr c-d 44,60 58,74 32,48 i data set ready (active low) - these inputs are associated with individual uart channels, a through d. a logic 0 on this pin indicates the modem or data set is powered-on and is ready for data exchange with the uart. this pin has no effect on the uart?s transmit or receive operation. -dtr a-b 12,24 9,21 3,15 -dtr c-d 46,58 60,72 34,46 o data terminal ready (active low) - these inputs are associated with individual uart channels, a through d. a logic 0 on this pin indicates that the 854 is powered-on and ready. this pin can be controlled via the modem control register. writing a logic 1 to mcr bit-0 will set the -dtr output to logic 0, enabling the modem. this pin will be a logic 1 after writing a logic 0 to mcr bit-0, or after a reset. this pin has no effect on the uart?s transmit or receive opera- tion. -ri a-b 8,28 98,33 63,19 -ri c-d 42,62 48,84 30,50 i ring indicator (active low) - these inputs are associated with individual uart channels, a through d. a logic 0 on this pin indicates the modem has received a ringing signal from the telephone line. a logic 1 transition on this input pin will generate an interrupt. -rts a-b 14,22 11,19 5,13 -rts c-d 48,56 62,70 36,44 o request to send (active low) - these outputs are associated with individual uart channels, a through d. a logic 0 on the -rts pin indicates the transmitter has data ready and waiting to send. writing a logic 1 in the modem control register (mcr bit-1) will set this pin to a logic 0 indicating data is available. after a reset this pin will be set to a logic 1. this pin only affects the transmit and receive operations when auto rts function is enabled via the enhanced feature register (efr) bit-6, for hardware flow control
xr16c854 12 rev. 1.00p symbol pin signal pin description 68 100 64 type symbol description operation. rx/irrx a-b 7,29 97,34 62,20 rx/irrx c-d 41,63 47,85 29,51 i receive data input rx/irrx a-d. - these inputs are associated with individual serial channel data to the xr16c854. two user selectable interface options are avail- able. the first option supports the standard modem inter- face. the second option provides an infrared decoder interface, see figures 2/3. when using the standard modem interface, the rx signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. the inactive state (no data) for the infrared decoder interface is a logic 0. mcr bit-6 selects the standard modem or infrared interface. during the local loop-back mode, the rx input pin is disabled and tx data is internally connected to the uart rx input, internally. tx/irtx a-b 17,19 14,16 8,10 tx/irtx c-d 51,53 65,67 39,41 o transmit data - these outputs are associated with indi- vidual serial transmit channel data from the 854. two user selectable interface options are available. the first user option supports a standard modem interface. the second option provides an infrared encoder interface, see figures 2/ 3. when using the standard modem interface, the tx signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. the inactive state (no data) for the infrared encoder/ decoder interface is a logic 0. mcr bit- 6 selects the standard modem or infrared interface. during the local loop-back mode, the tx input pin is disabled and tx data is internally connected to the uart rx input.
xr16c854 13 rev. 1.00p general description the 854 provides serial asynchronous receive data synchronization, parallel-to-serial and serial-to-paral- lel data conversions for both the transmitter and receiver sections. these functions are necessary for converting the serial data stream into parallel data that is required with digital data systems. synchronization for the serial data stream is accomplished by adding start and stops bits to the transmit data to form a data character (character orientated protocol). data integ- rity is insured by attaching a parity bit to the data character. the parity bit is checked by the receiver for any transmission bit errors. the electronic circuitry to provide all these functions is fairly complex especially when manufactured on a single integrated silicon chip. the xr16c854 represents such an integration with greatly enhanced features. the 854 is fabricated with an advanced cmos process to achieve low drain power and high speed requirements. the 854 is an upward solution that provides 128 bytes of transmit and receive fifo memory, instead of 64 bytes provided in st16c654, 16 bytes provided in the 16/68c554, or none in the 16/68c454. the 854 is designed to work with high speed modems and shared network environments, that require fast data process- ing time. increased performance is realized in the 854 by the larger transmit and receive fifo?s. this allows the external processor to handle more networking tasks within a given time. for example, the st16c554 with a 16 byte fifo, unloads 16 bytes of receive data in 1.53 ms (this example uses a character length of 11 bits, including start/stop bits at 115.2kbps). this means the external cpu will have to service the receive fifo at 1.53 ms intervals. however with the 128 byte fifo in the 854, the data buffer will not require unloading/loading for 12.2 ms. this increases the service interval giving the external cpu additional time for other applications and reducing the overall uart interrupt servicing time. in addition, the 4 selectable levels of fifo trigger interrupt and auto- matic hardware/software flow control is uniquely pro- vided for maximum data throughput performance especially when operating in a multi-channel environ- ment. the combination of the above greatly reduces the bandwidth requirement of the external controlling cpu, increases performance, and reduces power consumption. the 854 combines the package interface modes of the 16c554/654 and 68/c554/654 series on a single inte- grated chip. the 16 mode interface is designed to operate with the intel type of microprocessor bus while the 68 mode is intended to operate with motorola, and other popular microprocessors. following a reset, the 854 is down-ward compatible with the st16c454/ st68c454 or the st68c454/st68c554 dependent on the state of the interface mode selection pin, 16/- 68. the 854 is capable of operation to 1.5mbps with a 24 mhz crystal or external clock input. with a crystal of 14.7464 mhz and through a software option, the user can select data rates up to 460.8kbps or 921.6kbps, 8 times faster than the 16c554. the rich feature set of the 854 is available through internal registers. automatic hardware/software flow control, selectable transmit and receive fifo trigger levels, selectable tx and rx baud rates, infrared encoder/decoder interface, modem interface con- trols, and a sleep mode are all standard features. mcr bit-5 provides a facility for turning off (xon) software flow control with any incoming (rx) character. in the 16 mode intsel and mcr bit-3 can be configured to provide a software controlled or continuous interrupt capability. due of pin limitations for the 64 pin 854 this feature is offered by two different qfp packages. the xr16c854dcv operates in the continuos interrupt enable mode by bonded intsel to vcc internally. the xr16c854cv operates in conjunction with mcr bit-3 by bonding intsel to gnd internally. the 68 and 100 pin xr16c854 packages offer a clock select pin to allow system/board designers to preset the default baud rate table. the clksel pin selects the 1x or 4x pre-scaleable baud rate generator table during initialization, but can be overridden following initialization by mcr bit-7. the 100 pin packages offer several enhances fea- tures. these features include an midi clock input, an internal fifo monitor register, and separate irda tx outputs. the midi (musical instrument digital inter- face) can be connected to the xtal2 pin for normal
xr16c854 14 rev. 1.00p operation or to external midi oscillator for midi appli- cations. a separate register is provided for monitoring the real time status of the fifo signals -txrdy and -rxrdy for each of the four uart channels (a-d). this reduces polling time involved in accessing indi- vidual channels. the 100 pin qfp package also offers, four separate irda (infrared data association standard) outputs for infrared applications. these outputs are provided in addition to the standard asyn- chronous modem data outputs. functional descriptions interface options two user interface modes are selectable for the 854 package. these interface modes are designated as the ?16 mode? and the ?68 mode.? this nomenclature corresponds to the early 16c554/654 and 68c554/ 654 package interfaces respectively. the 16 mode interface the 16 mode configures the package interface pins for connection as a standard 16 series (intel) device and operates similar to the standard cpu interface avail- able on the 16c554/654. in the 16 mode (pin 16/-68 logic 1) each uart is selected with individual chip select (csx) pins as shown in table 2 below. table 2, serial port channel selection guide, 16 mode interface -csa -csb -csc -csd uart channel 1111 none 0111 a 1011 b 1101 c 1110 d the 68 mode interface the 68 mode configures the package interface pins for connection with motorola, and other popular micro- processor bus types. the interface operates similar to the 68c554/654. in this mode the 854 decodes two additional addresses, a3-a4 to select one of the four uart ports. the a3-a4 address decode function is used only when in the 68 mode (16/-68 logic 0), and is shown in table 3 below. table 3, serial port channel selection guide, 68 mode interface -cs a4 a3 uart channel 1 n/a n/a none 000 a 001 b 010 c 011 d internal registers the 854 provides 15 (64/68 pin packages) or 16 (100 pin packages) internal registers for monitoring and control. these resisters are shown in table 4 below. twelve registers are similar to those already available in the standard 16c554. these registers function as data holding registers (thr/rhr), interrupt status and control registers (ier/isr), a fifo control regis- ter (fcr), line status and control registers (lcr/lsr), modem status and control registers (mcr/msr), pro- grammable data rate (clock) control registers (dll/ dlm), and a user assessable scratchpad register (spr). beyond the general 16c554 features and capabilities, the 854 offers an enhanced feature reg- ister set (efr, xon/xoff 1-2) that provides on board hardware/software flow control. register functions are more fully described in the following paragraphs.
xr16c854 15 rev. 1.00p table 4, internal register decode a2 a1 a0 read mode write mode general register set (thr/rhr, ier/isr, mcr/msr, lcr/lsr, spr): 0 0 0 receive holding register transmit holding register 0 0 1 interrupt enable register 0 1 0 interrupt status register fifo control register 0 1 1 line control register 1 0 0 modem control register 1 0 1 line status register 1 1 0 modem status register 1 1 1 scratchpad register scratchpad register baud rate register set (dll/dlm): note *2 0 0 0 lsb of divisor latch lsb of divisor latch 0 0 1 msb of divisor latch msb of divisor latch enhanced register set (efr, xon/off 1-2): note *3 0 0 0 fifo trigger register fifo trigger counter 0 0 1 feature control register 0 1 0 enhanced feature register enhanced feature register 1 0 0 xon-1 word xon-1 word 1 0 1 xon-2 word xon-2 word 1 1 0 xoff-1 word xoff-1 word 1 1 1 xoff-2 word xoff-2 word fifo ready register: note *4 x x x rxrdy (a-d), txrdy (a-d) note *2: these registers are accessible only when lcr bit-7 is set to a logic 1. note *3: enhanced feature register, xon 1,2 and xoff 1,2 are accessible only when the lcr is set to ?bf(hex). note *4: fifo ready register is available through the csrdy interface pin only.
xr16c854 16 rev. 1.00p fifo operation the 128 byte transmit and receive data fifo?s are enabled by the fifo control register (fcr) bit-0. with 16c554 devices, the user can set the receive trigger level but not the transmit trigger level. the 854 provides independent trigger levels for both receiver and transmitter. to remain compatible with st16c554, the transmit interrupt trigger level is set to 8 following a reset. it should be noted that the user can set the transmit trigger levels by writing to the fcr register, but activation will not take place until efr bit- 4 is set to a logic 1. the receiver fifo section includes a time-out function to ensure data is delivered to the external cpu. an interrupt is generated whenever the receive holding register (rhr) has not been read following the loading of a character or the receive trigger level has not been reached. (see hardware flow control for a description of this timing). hardware flow control when automatic hardware flow control is enabled, the 854 monitors the -cts pin for a remote buffer overflow indication and controls the -rts pin for local buffer overflows. automatic hardware flow control is se- lected by setting bits 6 (rts) and 7 (cts) of the efr register to a logic 1. if -cts transitions from a logic 0 to a logic 1 indicating a flow control request, isr bit- 5 will be set to a logic 1 (if enabled via ier bit 6-7), and the 854 will suspend tx transmissions as soon as the stop bit of the character in process is shifted out. transmission is resumed after the -cts input returns to a logic 0, indicating more data may be sent. with the auto rts function enabled, an interrupt is generated when the receive fifo reaches the pro- grammed trigger level. the -rts pin will not be forced to a logic 1 (rts off), until the receive fifo reaches the next trigger level . however, the -rts pin will return to a logic 0 after the data buffer (fifo) is unloaded to the next trigger level below the pro- grammed trigger. however, under the above de- scribed conditions the 854 will continue to accept data until the receive fifo is full. selected int -rts -rts trigger pin logic ?1? logic ?0? level activation (characters) (characters) (characters) 88 16 0 16 16 56 8 56 56 60 16 60 60 60 56
xr16c854 17 rev. 1.00p software flow control when software flow control is enabled, the 854 com- pares one or two sequential receive data characters with the programmed xon or xoff-1,2 character value(s). if receive character(s) (rx) match the pro- grammed values, the 854 will halt transmission (tx) as soon as the current character(s) has completed transmission. when a match occurs, the receive ready (if enabled via xoff ier bit-5) flags will be set and the interrupt output pin (if receive interrupt is enabled) will be activated. following a suspension due to a match of the xoff characters values, the 854 will monitor the receive data stream for a match to the xon-1,2 character value(s). if a match is found, the 854 will resume operation and clear the flags (isr bit- 4). the 854 offers a special xon mode via mcr bit-5. the initialized default setting of mcr bit-5 is a logic 0. in this state xoff and xon will operate as defined above. setting mcr bit-5 to a logic 1 sets a special operational mode for the xon function. in this case xoff operates normally however, transmission (xon) will resume with the next character received, i.e., a match is declared simply by the receipt of an incoming (rx) character. reset initially sets the contents of the xon/xoff 8-bit flow control registers to a logic 0. following reset the user can write any xon/xoff value desired for software flow control. different conditions can be set to detect xon/xoff characters and suspend/resume transmis- sions. when double 8-bit xon/xoff characters are selected, the 854 compares two consecutive receive characters with two software flow control 8-bit values (xon1, xon2, xoff1, xoff2) and controls tx transmis- sions accordingly. under the above described flow control mechanisms, flow control characters are not placed (stacked) in the user accessible rx data buffer or fifo. in the event that the receive buffer is overfilling and flow control needs to be executed, the 854 automati- cally sends an xoff message (when enabled) via the serial tx output to the remote modem. the 854 sends the xoff-1,2 characters as soon as received data passes the programmed trigger level. to clear this condition, the 854 will transmit the programmed xon- 1,2 characters as soon as receive data drops below the programmed trigger level. special feature software flow control a special feature is provided to detect an 8-bit charac- ter when bit-5 is set in the enhanced feature register (efr). when 8 bit character is detected, it will be placed on the user accessible data stack along with normal incoming rx data. this condition is selected in conjunction with efr bits 0-3. note that software flow control should be turned off when using this special mode by setting efr bit 0-3 to a logic 0. the 854 compares each incoming receive character with xoff-2 data. if a match exists, the received data will be transferred to fifo and isr bit-4 will be set to indicate detection of special character (see figure 9). although the internal register table shows each x- register with eight bits of character information, the actual number of bits is dependent on the pro- grammed word length. line control register (lcr) bits 0-1 defines the number of character bits, i.e., either 5 bits, 6 bits, 7 bits, or 8 bits. the word length selected by lcr bits 0-1 also determines the number of bits that will be used for the special character comparison. bit-0 in the x-registers corresponds with the lsb bit for the receive character. xon any feature a special feature is provided to return the xoff flow control to the inactive state following its activation. in this mode any rx character received will return the xoff flow control to the inactive state so that transmis- sions may be resumed with a remote buffer. this feature is more fully defined in the software flow control section. device identification the xr16c854 provides device identification and device revision code to distinguish the part from others. to read the identification number from the part, its is required to set the baud rate generator divisor latch to ?1? and then set the content of the baud rate generator dll and dlm registers to ?0?. reading the content of the dlm will provide ?14? hex for xr16c854 part and reading the content of the dll will provide the revision of the part.
xr16c854 18 rev. 1.00p c1 22pf c2 33pf x1 1.8432 mhz xtal1 xtal2 figure 8, crystal oscillator connection hardware/software and timeout interrupts three special interrupts have been added to monitor the hardware and software flow control. the interrupts are enabled by ier bits 5-7. care must be taken when handling these interrupts. following a reset the trans- mitter interrupt is enabled, the 854 will issue an interrupt to indicate that transmit holding register is empty. this interrupt must be serviced prior to con- tinuing operations. the lsr register provides the current singular highest priority interrupt only. it could be noted that cts and rts interrupts have lowest interrupt priority. a condition can exist where a higher priority interrupt may mask the lower priority cts/ rts interrupt(s). only after servicing the higher pend- ing interrupt will the lower priority cts/ rts interrupt(s) be reflected in the status register. servic- ing the interrupt without investigating further interrupt conditions can result in data errors. when two interrupt conditions have the same priority, it is important to service these interrupts correctly. receive data ready and receive time out have the same interrupt priority (when enabled by ier bit-3). the receiver issues an interrupt after the number of characters have reached the programmed trigger level. in this case the 854 fifo may hold more characters than the programmed trigger level. follow- ing the removal of a data byte, the user should recheck lsr bit-0 for additional characters. a receive time out will not occur if the receive fifo is empty. the time out counter is reset at the center of each stop bit received or each time the receive holding register (rhr) is read. the actual time out value is t ( t ime out length in bits) = 4 x p ( p rogrammed word length) + 12. to convert the time out value to a character value, the user has to consider the complete word length, includ- ing data information length, start bit, parity bit, and the size of stop bit, i.e., 1x, 1.5x, or 2x bit times. example -a: if the user programs a word length of 7, with no parity and one stop bit, the time out will be: t = 4 x 7( programmed word length) +12 = 40 bit times. the character time will be equal to 40 / 9 = 4.4 characters, or as shown in the fully worked out ex- ample: t = [(programmed word length = 7) + (stop bit = 1) + (start bit = 1) = 9]. 40 (bit times divided by 9) = 4.4 characters. example -b: if the user programs the word length = 7, with parity and one stop bit, the time out will be: t = 4 x 7(programmed word length) + 12 = 40 bit times. character time = 40 / 10 [ (programmed word length = 7) + (parity = 1) + (stop bit = 1) + (start bit = 1) = 4 characters. in the 16 mode for 68/100 pin packages, the system/ board designer can optionally provide software con- trolled three state interrupt operation. this is accom- plished by intsel and mcr bit-3. when intsel interface pin is left open or made a logic 0, mcr bit- 3 controls the three state interrupt outputs, int a-d. when intsel is a logic 1, mcr bit-3 has no effect on the int a-d outputs and the package operates with interrupt outputs enabled continuously. programmable baud rate generator the 854 supports high speed modem technologies that have increased input data rates by employing data compression schemes. for example a 33.6kbps modem that employs data compression may require a 115.2kbps input data rate. a 128.0kbps isdn modem that supports data compression may need an input data rate of 460.8kbps. the 854 can support a stan- dard data rate of 921.6kbps.
xr16c854 19 rev. 1.00p single baud rate generator is provided for the transmitter and receiver, allowing independent tx/ rx channel control. the programmable baud rate generator is capable of accepting an input clock up to 24 mhz, as required for supporting a 1.5mbps data rate. the 854 can be configured for internal or external clock operation. for internal clock oscilla- tor operation, an industry standard microprocessor crystal (parallel resonant/ 22-33 pf load) is con- nected externally between the xtal1 and xtal2 pins (see figure ). alternatively, an external clock can be connected to the xtal1 pin to clock the internal baud rate generator for standard or custom rates. (see baud rate generator programming). the generator divides the input 16x clock by any divisor from 1 to 2 16 -1. the 854 divides the basic crystal or external clock by 16. further division of this 16x clock provides two table rates to support low and high data rate applications using the same system design. after a hardware reset and during initializa- tion, the 854 sets the default baud rate table according to the state of the clksel. pin. a logic 1 on clksel will set the 1x clock default whereas, logic 0 will set the 4x clock default table. following the default clock rate selection during initialization, the rate tables can be changed by the internal register, mcr bit-7. setting mcr bit-7 to a logic 1 when clksel is a logic 1 provides an additional divide by 4 whereas, setting mcr bit-7 to a logic 0 only divides by 1. (see table 5 and figure 11). customized baud rates can be achieved by selecting the proper divisor values for the msb and lsb sections of baud rate generator. programming the baud rate generator registers dlm (msb) and dll (lsb) provides a user capability for selecting the desired final baud rate. the example in table 5 below, shows the two selectable baud rate tables available when using a 7.3728 mhz crystal. table 5, baud rate generator programming table (7.3728 mhz clock): output output user user dlm dll baud rate baud rate 16 x clock 16 x clock program program mcr mcr divisor divisor value value bit-7=1 bit-7=0 (decimal) (hex) (hex) (hex) 50 200 2304 900 09 00 300 1200 384 180 01 80 600 2400 192 c0 00 c0 1200 4800 96 60 00 60 2400 9600 48 30 00 30 4800 19.2k 24 18 00 18 9600 38.4k 12 0c 00 0c 19.2k 76.8k 6 06 00 06 38.4k 153.6k 3 03 00 03 57.6k 230.4k 2 02 00 02 115.2k 460.8k 1 01 00 01
xr16c854 20 rev. 1.00p divide by 1 logic x tal1 x tal2 divide by 4 logic clock oscillator logic baudrate generator logic -baudou t mcr bit-7=0 mcr bit-7=1 figure 11, baud rate generator circuitry dma operation the 854 fifo trigger level provides additional flexibil- ity to the user for block mode operation. lsr bits 5-6 provide an indication when the transmitter is empty or has an empty location(s). the user can optionally operate the transmit and receive fifo?s in the dma mode (fcr bit-3). when the transmit and receive fifo?s are enabled and the dma mode is deactivated (dma mode ?0?), the 854 activates the interrupt output pin for each data transmit or receive operation. when dma mode is activated (dma mode ?1?), the user takes the advantage of block mode operation by loading or unloading the fifo in a block sequence determined by the preset trigger level. in this mode, the 854 sets the interrupt output pin when characters in the transmit fifo?s are below the transmit trigger level, or the characters in the receive fifo?s are above the receive trigger level. sleep mode the 854 is designed to operate with low power con- sumption. a special sleep mode is included to further reduce power consumption when the chip is not being used. with efr bit-4 and ier bit-4 enabled (set to a logic 1), the 854 enters the sleep mode but resumes normal operation when a start bit is detected, a change of state on any of the modem input pins rx, -ri, -cts, -dsr, -cd, or transmit data is provided by the user. if the sleep mode is enabled and the 854 is awakened by one of the conditions described above, it will return to the sleep mode automatically after the last character is transmitted or read by the user. in any case, the sleep mode will not be entered while an interrupt(s) is pending. the 854 will stay in the sleep mode of operation until it is disabled by setting ier bit-4 to a logic 0.
xr16c854 21 rev. 1.00p loop-back mode the internal loop-back capability allows onboard diag- nostics. in the loop-back mode the normal modem interface pins are disconnected and reconfigured for loop-back internally. mcr register bits 0-3 are used for controlling loop-back diagnostic testing. in the loop-back mode op1 and op2 in the mcr register (bits 3/2) control the modem -ri and -cd inputs respectively. mcr signals -dtr and -rts (bits 0-1) are used to control the modem -cts and -dsr inputs respectively. the transmitter output (tx) and the receiver input (rx) are disconnected from their asso- ciated interface pins, and instead are connected to- gether internally (see figure 12). the -cts, -dsr, - cd, and -ri are disconnected from their normal modem control inputs pins, and instead are connected internally to -dtr, -rts, -op1 and -op2. loop-back test data is entered into the transmit holding register via the user data bus interface, d0-d7. the transmit uart serializes the data and passes the serial data to the receive uart via the internal loop-back connec- tion. the receive uart converts the serial data back into parallel data that is then made available at the user data interface, d0-d7. the user optionally com- pares the received data to the initial transmitted data for verifying error free operation of the uart tx/rx circuits. in this mode, the receiver and transmitter interrupts are fully operational. the modem control interrupts are also operational. however, the interrupts can only be read using lower four bits of the modem control register (mcr bits 0-3) instead of the four modem status register bits 4-7. the interrupts are still con- trolled by the ier.
xr16c854 22 rev. 1.00p d0-d7 -ior,-iow reset a0-a2 -cs a-d int a-d -rxrdy -txrdy tx a-d rx a-d data bus & control logic register select logic modem control logic interrupt control logic transmit fifo registers flow control logic transmit shift register receive fifo registers flow control logic receive shift register inter connect bus lines & control signals clock & baud rate generator xtal1 xtal2 ir encoder ir decoder -cts a-d -rts a-d -dtr a-d -dsr a-d -ri a-d -cd a-d -op1 a-d -op2 a-d mcr bit-4=1 figure 12, internal loop-back mode diagram
xr16c854 23 rev. 1.00p register functional descriptions the following table delineates the assigned bit functions for the fifteen 854 internal registers. the assigned bit functions are more fully defined in the following paragraphs. xr16c854 accessible registers a2 a1 a0 register bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 [default] note *5 general register set 0 0 0 rhr [xx] b it-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 0 0 0 thr [xx] bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 0 0 1 ier [00] 0/ 0/ 0/ 0/ m odem receive transmit receive -cts -rts xoff sleep status line holding holding interrupt interrupt interrupt mode interrupt status register register interrupt 0 1 0 fcr [00] rcvr rcvr 0/tx 0/tx dma xmit rcvr fifo trigger trigger trigger trigger mode fifo fifo enable (msb) (lsb) (msb) (lsb) select reset reset 0 1 0 isr [01] 0/ 0/ 0/ 0/ int int int int fifo?s fifo?s -rts, xoff priority priority priority status enabled enabled -cts b it-2 bit-1 bit-0 0 1 1 lcr [00] d ivisor set set even parity stop word word latch break parity parity enable bits length length enable bit-1 bit-0 1 0 0 mcr [00] clock 0/ 0/ loop -op2 -op1 -rts -dtr select irrt xon back enable any 1 0 1 lsr [60] 0/ tr ans. trans. break framing parity overrun receive fifo empty holding interrupt error error error data error empty ready 1 1 0 msr [x0] -cd -ri -dsr -cts delta delta delta delta -cd -ri -dsr -cts 1 1 1 scpad [ff] bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 special register set note *2 0 0 0 dll [xx] bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 0 0 1 dlm [xx] bit-15 bit-14 bit-13 bit-12 bit-11 bit-10 bit-9 bit-8
xr16c854 24 rev. 1.00p a2 a1 a0 register bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 [default] note *5 enhanced register set note*3 0 0 0 trg [00] trig/ trig/ trig/ trig/ trig trig/ trig/ trig/ fc fc fc fc fc fc fc fc 0 0 1 fctr [00] rx/tx scpad trig trig rs-485 irrx -rts -rts mode swap bit-1 bit-0 auto inv. delay delay control bit-1 bit-0 0 1 0 efr [00] auto auto special enable cont-3 cont-2 cont-1 cont-0 -cts -rts char. ier tx,rx tx,rx tx,rx tx,rx select bits 4-7, control control control control isr, fcr bits 4-5, mcr bits 5-7 1 1 1 emsr [00] not not not not not not alt. rx/-tx used used used used used used rx/tx fifo fifo count count 1 0 0 xon-1[00] bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 1 0 1 xon-2[00] bit-15 bit-14 bit-13 bit-12 bit-11 bit-10 bit-9 bit-8 1 1 0 xoff-1[00] bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 1 1 1 xoff-2[00] bit-15 bit-14 bit-13 bit-12 bit-11 bit-10 bit-9 bit-8 fifo ready register: note *4 x x x fifordy rxrdy rxrdy rxrdy rxrdy txrdy txrdy txrdy txrdy dcbadcba note * 2 : the special register set is accessible only when lcr bit-7 is set to ?1?. note * 3 : enhanced feature register, xon 1,2 and xoff 1,2 are accessible only when lcr is set to ?bf? hex. note * 4 : fifordy register is available only in 100 pin qfp packages and is selected by -csrdy vice a0-a2. note * 5 : the value between the square brackets represents the register?s initialized hex value.
xr16c854 25 rev. 1.00p transmit (thr) and receive (rhr) holding reg- isters the serial transmitter section consists of an 8-bit transmit hold register (thr) and transmit shift register (tsr). the status of the thr is provided in the line status register (lsr). writing to the thr transfers the contents of the data bus (d7-d0) to the thr, providing that the thr or tsr is empty. the thr empty flag in the lsr register will be set to a logic 1 when the transmitter is empty or when data is transferred to the tsr. note that a write operation can be performed when the transmit holding register empty flag is set (logic 0 = fifo full, logic 1= at least one fifo location available). the serial receive section also contains an 8-bit receive holding register, rhr. receive data is removed from the 854 and receive fifo by reading the rhr register. the receive section provides a mechanism to prevent false starts. on the falling edge of a start or false start bit, an internal receiver counter starts counting clocks at 16x clock rate. after 7 1/2 clocks the start bit time should be shifted to the center of the start bit. at this time the start bit is sampled and if it is still a logic 0 it is validated. evaluating the start bit in this manner prevents the receiver from assem- bling a false character. receiver status codes will be posted in the lsr. interrupt enable register (ier) the interrupt enable register (ier) masks the inter- rupts from receiver ready, transmitter empty, line status and modem status registers. these interrupts would normally be seen on the int a-d output pins in the 16 mode, or on wire-or irq output pin, in the 68 mode. ier vs receive fifo interrupt mode operation when the receive fifo (fcr bit-0 = a logic 1) and receive interrupts (ier bit-0 = logic 1) are enabled, the receive interrupts and register status will reflect the following: a) the receive data available interrupts are issued to the external cpu when the fifo has reached the programmed trigger level. it will be cleared when the fifo drops below the programmed trigger level. b) fifo status will also be reflected in the user accessible isr register when the fifo trigger level is reached. both the isr register status bit and the interrupt will be cleared when the fifo drops below the trigger level. c) the data ready bit (lsr bit-0) is set as soon as a character is transferred from the shift register to the receive fifo. it is reset when the fifo is empty. ier vs receive/transmit fifo polled mode op- eration when fcr bit-0 equals a logic 1; resetting ier bits 0-3 enables the 854 in the fifo polled mode of operation. since the receiver and transmitter have separate bits in the lsr either or both can be used in the polled mode by selecting respective transmit or receive control bit(s). a) lsr bit-0 will be a logic 1 as long as there is one byte in the receive fifo. b) lsr bit 1-4 will provide the type of errors encoun- tered, if any. c) lsr bit-5 will indicate when the transmit fifo is empty. d) lsr bit-6 will indicate when both the transmit fifo and transmit shift register are empty. e) lsr bit-7 will indicate any fifo data errors. ier bit-0: this interrupt will be issued when the fifo has reached the programmed trigger level or is cleared when the fifo drops below the trigger level in the fifo mode of operation. logic 0 = disable the receiver ready interrupt. (normal default condition) logic 1 = enable the receiver ready interrupt. ier bit-1: this interrupt will be issued whenever the thr is empty and is associated with bit-1 in the lsr register.
xr16c854 26 rev. 1.00p logic 0 = disable the transmitter empty interrupt. (normal default condition) logic 1 = enable the transmitter empty interrupt. ier bit-2: this interrupt will be issued whenever a fully as- sembled receive character is transferred from the rsr to the rhr/fifo, i.e., data ready, lsr bit-0. logic 0 = disable the receiver line status interrupt. (normal default condition) logic 1 = enable the receiver line status interrupt. ier bit-3: logic 0 = disable the modem status register interrupt. (normal default condition) logic 1 = enable the modem status register interrupt. ier bit -4: logic 0 = disable sleep mode. (normal default condi- tion) logic 1 = enable sleep mode. see sleep mode section for details. ier bit-5: logic 0 = disable the software flow control, receive xoff interrupt. (normal default condition) logic 1 = enable the software flow control, receive xoff interrupt. see software flow control section for details. ier bit-6: logic 0 = disable the rts interrupt. (normal default condition) logic 1 = enable the rts interrupt. the 854 issues an interrupt when the rts pin transitions from a logic 0 to a logic 1. ier bit-7: logic 0 = disable the cts interrupt. (normal default condition) logic 1 = enable the cts interrupt. the 854 issues an interrupt when cts pin transitions from a logic 0 to a logic 1. fifo control register (fcr) this register is used to enable the fifo?s, clear the fifo?s, set the transmit/receive fifo trigger levels, and select the dma mode. the dma, and fifo modes are defined as follows: dma mode mode 0 set and enable the interrupt for each single transmit or receive operation, and is similar to the st16c454 mode. transmit ready (-txrdy) will go to a logic 0 when ever an empty transmit space is available in the transmit holding register (thr). receive ready (-rxrdy) will go to a logic 0 when- ever the receive holding register (rhr) is loaded with a character. mode 1 set and enable the interrupt in a block mode operation. the transmit interrupt is set when the transmit fifo is below the programmed trigger level. -txrdy remains a logic 0 as long as one empty fifo location is available. the receive interrupt is set when the receive fifo fills to the programmed trigger level. however the fifo continues to fill regardless of the programmed level until the fifo is full. -rxrdy remains a logic 0 as long as the fifo fill level is above the programmed trigger level. fcr bit-0: logic 0 = disable the transmit and receive fifo. (normal default condition) logic 1 = enable the transmit and receive fifo. this bit must be a ?1? when other fcr bits are written to or they will not be programmed. fcr bit-1: logic 0 = no fifo receive reset. (normal default condition) logic 1 = clears the contents of the receive fifo and resets the fifo counter logic (the receive shift regis- ter is not cleared or altered). this bit will return to a logic 0 after clearing the fifo. fcr bit-2: logic 0 = no fifo transmit reset. (normal default condition) logic 1 = clears the contents of the transmit fifo and resets the fifo counter logic (the transmit shift regis- ter is not cleared or altered). this bit will return to a logic 0 after clearing the fifo.
xr16c854 27 rev. 1.00p fcr bit-3: logic 0 = set dma mode ?0?. (normal default condi- tion) logic 1 = set dma mode ?1.? transmit operation in mode ?0?: when the 854 is in the st16c450 mode (fifo?s disabled, fcr bit-0 = logic 0) or in the fifo mode (fifo?s enabled, fcr bit-0 = logic 1, fcr bit-3 = logic 0) and when there are no characters in the transmit fifo or transmit holding register, the -txrdy pin will be a logic 0. once active the -txrdy pin will go to a logic 1 after the first character is loaded into the transmit holding register. receive operation in mode ?0?: when the 854 is in mode ?0? (fcr bit-0 = logic 0) or in the fifo mode (fcr bit-0 = logic 1, fcr bit-3 = logic 0) and there is at least one character in the receive fifo, the -rxrdy pin will be a logic 0. once active the -rxrdy pin will go to a logic 1 when there are no more characters in the receiver. transmit operation in mode ?1?: when the 854 is in fifo mode ( fcr bit-0 = logic 1, fcr bit-3 = logic 1 ), the -txrdy pin will be a logic 1 when the transmit fifo is completely full. it will be a logic 0 if one or more fifo locations are empty. receive operation in mode ?1?: when the 854 is in fifo mode (fcr bit-0 = logic 1, fcr bit-3 = logic 1) and the trigger level has been reached, or a receive time out has occurred, the - rxrdy pin will go to a logic 0. once activated, it will go to a logic 1 after there are no more characters in the fifo. fcr bit 4-5: (logic 0 or cleared is the default condi- tion, tx trigger level = none) the xr16c854 provide 4 user selectable trigger levels, the fctr bits 4-5 selects one of the following table. these bits are used to set the trigger level for the transmit fifo interrupt. the xr16c854 will issue a transmit empty interrupt when number of characters in fifo drops below the selected trigger level. trigger table-a (transmit) ?default setting after reset st16c550 mode? bit-5 bit-4 fifo trigger level x x none trigger table-b (transmit) bit-5 bit-4 fifo trigger level 00 16 01 8 10 24 11 30 trigger table-c (transmit) bit-5 bit-4 fifo trigger level 00 8 01 16 10 32 11 56 trigger table-d (transmit) bit-5 bit-4 fifo trigger level x x user programmable trigger levels
xr16c854 28 rev. 1.00p fcr bit 6-7: (logic 0 or cleared is the default condi- tion, rx trigger level =8) these bits are used to set the trigger level for the receiver fifo interrupt. the fctr bits 4-5 selects one of the following table. trigger table-a (receive) ?default setting after reset st16c550 mode? bit-7 bit-6 fifo trigger level 00 1 01 4 10 8 11 14 trigger table-b (receive) bit-7 bit-6 fifo trigger level 00 8 01 16 10 24 11 28 trigger table-c (receive) bit-7 bit-6 fifo trigger level 00 8 01 16 10 56 11 60 trigger table-d (receive) bit-7 bit-6 fifo trigger level x x user programmable trigger levels interrupt status register (isr) the 854 provides six levels of prioritized interrupts to minimize external software interaction. the interrupt status register (isr) provides the user with six inter- rupt status bits. performing a read cycle on the isr will provide the user with the highest pending interrupt level to be serviced. no other interrupts are acknowl- edged until the pending interrupt is serviced. when- ever the interrupt status register is read, the interrupt status is cleared. however it should be noted that only the current pending interrupt is cleared by the read. a lower level interrupt may be seen after rereading the interrupt status bits. the interrupt source table 7 (below) shows the data values (bit 0-5) for the six prioritized interrupt levels and the interrupt sources associated with each of these interrupt levels:
xr16c854 29 rev. 1.00p lcr bit 0-1: (logic 0 or cleared is the default condi- tion) these two bits specify the word length to be transmit- ted or received. bit-1 bit-0 word length 00 5 01 6 10 7 11 8 lcr bit-2: (logic 0 or cleared is the default condition) the length of stop bit is specified by this bit in conjunction with the programmed word length. bit-2 word length stop bit length (bit time(s)) 0 5,6,7,8 1 1 5 1-1/2 1 6,7,8 2 table 7, interrupt source table priority [ isr bits ] level bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 source of the interrupt 1 000110 lsr (receiver line status register) 2 000100 rxrdy (received data ready) 2 001100 rxrdy (receive data time out) 3 000010 txrdy ( transmitter holding register empty) 4 000000 msr (modem status register) 5 010000 rxrdy (received xoff signal)/ special character 6 100000 cts, rts change of state isr bit-0: logic 0 = an interrupt is pending and the isr contents may be used as a pointer to the appropriate interrupt service routine. logic 1 = no interrupt pending. (normal default condi- tion) isr bit 1-3: (logic 0 or cleared is the default condition) these bits indicate the source for a pending interrupt at interrupt priority levels 1, 2, and 3 (see interrupt source table). isr bit 4-5: (logic 0 or cleared is the default condition) these bits are enabled when efr bit-4 is set to a logic 1. isr bit-4 indicates that matching xoff character(s) have been detected. isr bit-5 indicates that cts, rts have been generated. note that once set to a logic 1, the isr bit-4 will stay a logic 1 until xon character(s) are received. isr bit 6-7: (logic 0 or cleared is the default condition) these bits are set to a logic 0 when the fifo is not being used. they are set to a logic 1 when the fifo?s are enabled. line control register (lcr) the line control register is used to specify the asynchronous data communication format. the word length, the number of stop bits, and the parity are selected by writing the appropriate bits in this register.
xr16c854 30 rev. 1.00p lcr bit-3: parity or no parity can be selected via this bit. logic 0 = no parity. (normal default condition) logic 1 = a parity bit is generated during the transmis- sion, receiver checks the data and parity for transmis- sion errors. lcr bit-4: if the parity bit is enabled with lcr bit-3 set to a logic 1, lcr bit-4 selects the even or odd parity format. logic 0 = odd parity is generated by forcing an odd number of logic 1?s in the transmitted data. the receiver must be programmed to check the same format. (normal default condition) logic 1 = even parity is generated by forcing an even the number of logic 1?s in the transmitted. the receiver must be programmed to check the same format. lcr bit-5: if the parity bit is enabled, lcr bit-5 selects the forced parity format. lcr bit-5 = logic 0, parity is not forced. (normal default condition) lcr bit-5 = logic 1 and lcr bit-4 = logic 0, parity bit is forced to a logical 1 for the transmit and receive data. lcr bit-5 = logic 1 and lcr bit-4 = logic 1, parity bit is forced to a logical 0 for the transmit and receive data. lcr lcr lcr parity selection bit-5 bit-4 bit-3 x x 0 no parity 0 0 1 odd parity 0 1 1 even parity 1 0 1 force parity ?1? 1 1 1 forced parity ?0? lcr bit-6: when enabled the break control bit causes a break condition to be transmitted (the tx output is forced to a logic 0 state). this condition exists until disabled by setting lcr bit-6 to a logic 0. logic 0 = no tx break condition. (normal default condition) logic 1 = forces the transmitter output (tx) to a logic 0 for alerting the remote receiver to a line break condition. lcr bit-7: the internal baud rate counter latch and enhance feature mode enable. logic 0 = divisor latch disabled. (normal default condition) logic 1 = divisor latch and enhanced feature register enabled. modem control register (mcr) this register controls the interface with the modem or a peripheral device. mcr bit-0: logic 0 = force -dtr output to a logic 1. (normal default condition) logic 1 = force -dtr output to a logic 0. mcr bit-1: logic 0 = force -rts output to a logic 1. (normal default condition) logic 1 = force -rts output to a logic 0. automatic rts may be used for hardware flow control by enabling efr bit-6 (see efr bit-6). mcr bit-2: this bit is used in the loop-back mode only. in the loop-back mode this bit is use to write the state of the modem -ri interface signal via -op1. mcr bit-3: ( used to control the modem -cd signal in the loop-back mode.) logic 0 = forces int (a-d) outputs to the three state mode during the 16 mode. (normal default condition) in the loop-back mode, sets -op2 (-cd) internally to a logic 1. logic 1 = forces the int (a-d) outputs to the active mode during the 16 mode. in the loop-back mode, sets -op2 (-cd) internally to a logic 0. mcr bit-4: logic 0 = disable loop-back mode. (normal default condition) logic 1 = enable local loop-back mode (diagnostics).
xr16c854 31 rev. 1.00p mcr bit-5: logic 0 = disable xon any function (for 16c550 compatibility). (normal default condition) logic 1 = enable xon any function. in this mode any rx character received will enable xon. mcr bit-6: logic 0 = enable the standard modem receive and transmit input/output interface. (normal default condi- tion) logic 1 = enable infrared irda receive and transmit inputs/outputs. while in this mode, the tx/rx output/ inputs are routed to the infrared encoder/decoder. the data input and output levels will conform to the irda infrared interface requirement. as such, while in this mode the infrared tx output will be a logic 0 during idle data conditions. mcr bit-7: logic 0 = divide by one. the input clock (crystal or external) is divided by sixteen and then presented to the programmable baud rate generator (bgr) with- out further modification, i.e., divide by one. (normal, default condition) logic 1 = divide by four. the divide by one clock described in mcr bit-7 equals a logic 0, is further divided by four (also see programmable baud rate generator section). line status register (lsr) this register provides the status of data transfers between the 854 and the cpu. lsr bit-0: logic 0 = no data in receive holding register or fifo. (normal default condition) logic 1 = data has been received and is saved in the receive holding register or fifo. lsr bit-1: logic 0 = no overrun error. (normal default condition) logic 1 = overrun error. a data overrun error occurred in the receive shift register. this happens when addi- tional data arrives while the fifo is full. in this case the previous data in the shift register is overwritten. note that under this condition the data byte in the receive shift register is not transferred into the fifo, therefore the data in the fifo is not corrupted by the error. lsr bit-2: logic 0 = no parity error. (normal default condition) logic 1 = parity error. the receive character does not have correct parity information and is suspect. in the fifo mode, this error is associated with the character at the top of the fifo. lsr bit-3: logic 0 = no framing error. (normal default condition) logic 1 = framing error. the receive character did not have a valid stop bit(s). in the fifo mode this error is associated with the character at the top of the fifo. lsr bit-4: logic 0 = no break condition. (normal default condi- tion) logic 1 = the receiver received a break signal (rx was a logic 0 for one character frame time). in the fifo mode, only one break character is loaded into the fifo. lsr bit-5: this bit is the transmit holding register empty indi- cator. this bit indicates that the uart is ready to accept a new character for transmission. in addition, this bit causes the uart to issue an interrupt to cpu when the thr interrupt enable is set. the thr bit is set to a logic 1 when a character is transferred from the transmit holding register into the transmitter shift register. the bit is reset to logic 0 concurrently with the loading of the transmitter holding register by the cpu. in the fifo mode this bit is set when the transmit fifo is empty; it is cleared when at least 1 byte is written to the transmit fifo. lsr bit-6: this bit is the transmit empty indicator. this bit is set to a logic 1 whenever the transmit holding register and the transmit shift register are both empty. it is reset to logic 0 whenever either the thr or tsr contains a data character. in the fifo mode this bit is set to one whenever the transmit fifo and transmit shift register are both empty.
xr16c854 32 rev. 1.00p lsr bit-7: logic 0 = no error. (normal default condition) logic 1 = at least one parity error, framing error or break indication is in the current fifo data. this bit is cleared when lsr register is read. modem status register (msr) this register provides the current state of the control interface signals from the modem, or other peripheral device that the 854 is connected to. four bits of this register are used to indicate the changed information. these bits are set to a logic 1 whenever a control input from the modem changes state. these bits are set to a logic 0 whenever the cpu reads this register. msr bit-0: logic 0 = no -cts change (normal default condition) logic 1 = the -cts input to the 854 has changed state since the last time it was read. a modem status interrupt will be generated. msr bit-1: logic 0 = no -dsr change. (normal default condition) logic 1 = the -dsr input to the 854 has changed state since the last time it was read. a modem status interrupt will be generated. msr bit-2: logic 0 = no -ri change. (normal default condition) logic 1 = the -ri input to the 854 has changed from a logic 0 to a logic 1. a modem status interrupt will be generated. msr bit-3: logic 0 = no -cd change. (normal default condition) logic 1 = indicates that the -cd input to the has changed state since the last time it was read. a modem status interrupt will be generated. msr bit-4: -cts functions as hardware flow control signal input if it is enabled via efr bit-7. the transmit holding register flow control is enabled/disabled by msr bit-4. flow control (when enabled) allows the starting and stopping the transmissions based on the external modem -cts signal. a logic 1 at the -cts pin will stop 854 transmissions as soon as current character has finished transmission. normally msr bit-4 bit is the compliment of the -cts input. however in the loop-back mode, this bit is equivalent to the rts bit in the mcr register. msr bit-5: dsr (active high, logical 1). normally this bit is the compliment of the -dsr input. in the loop-back mode, this bit is equivalent to the dtr bit in the mcr register. msr bit-6: ri (active high, logical 1). normally this bit is the compliment of the -ri input. in the loop-back mode this bit is equivalent to the op1 bit in the mcr register. msr bit-7: cd (active high, logical 1). normally this bit is the compliment of the -cd input. in the loop-back mode this bit is equivalent to the op2 bit in the mcr register. scratchpad register (spr) the xr16c854 provides a temporary data register to store 8 bits of user information. enhanced feature register (efr) enhanced features are enabled or disabled using this register. bits-0 through 4 provide single or dual character software flow control selection (see table 8). when the xon1 and xon2 and/or xoff1 and xoff2 modes are selected, the double 8-bit words are concatenated into two sequential characters. efr bit 0-3: (logic 0 or cleared is the default condi- tion) combinations of software flow control can be selected by programming these bits.
xr16c854 33 rev. 1.00p table 8, software flow control functions cont-3 cont-2 cont-1 cont-0 tx, rx software flow controls 0 0 x x no transmit flow control 1 0 x x transmit xon1/xoff1 0 1 x x transmit xon2/xoff2 1 1 x x transmit xon1 and xon2/xoff1 and xoff2 x x 0 0 no receive flow control x x 1 0 receiver compares xon1/xoff1 x x 0 1 receiver compares xon2/xoff2 1011 transmit xon1/ xoff1. receiver compares xon1 and xon2, xoff1 and xoff2 0111 transmit xon2/xoff2 receiver compares xon1 and xon2/xoff1 and xoff2 1111 transmit xon1 and xon2/xoff1 and xoff2 receiver compares xon1 and xon2/xoff1 and xoff2 0011no transmit flow control receiver compares xon1 and xon2/xoff1 and xoff2 efr bit-4: enhanced function control bit. the content of the ier bits 4-7, isr bits 4-5, fcr bits 4-5, and mcr bits 5-7 can be modified and latched. after modifying any bits in the enhanced registers, efr bit-4 can be set to a logic 0 to latch the new values. this feature prevents existing software from altering or overwriting the 854 enhanced functions. logic 0 = disable/latch enhanced features. ier bits 4- 7, isr bits 4-5, fcr bits 4-5, and mcr bits 5-7 are saved to retain the user settings, then ier bits 4-7, isr bits 4-5, fcr bits 4-5, and mcr bits 5-7 are initialized to the default values shown in the internal resister table. after a reset, the ier bits 4-7, isr bits 4-5, fcr bits 4-5, and mcr bits 5-7 are set to a logic 0 to be compatible with st16c554 mode. (normal default condition). logic 1 = enables the enhanced functions. when this bit is set to a logic 1 all enhanced features of the 854 are enabled and user settings stored during a reset will be restored. efr bit-5: logic 0 = special character detect disabled. (normal default condition) logic 1 = special character detect enabled. the 854 compares each incoming receive character with xoff- 2 data. if a match exists, the received data will be transferred to fifo and isr bit-4 will be set to indicate detection of special character. bit-0 in the x-registers corresponds with the lsb bit for the receive character. when this feature is enabled, the normal software flow control must be disabled (efr bits 0-3 must be set to a logic 0). efr bit-6: automatic rts may be used for hardware flow control by enabling efr bit-6. when auto rts is selected, an interrupt will be generated when the receive fifo is filled to the programmed trigger level and -rts will go to a logic 1 at the next trigger level. -rts will return to a logic 0 when data is unloaded below the next lower trigger level (programmed trigger level -1). the state of this register bit changes with the status of the
xr16c854 34 rev. 1.00p hardware flow control. -rts functions normally when hardware flow control is disabled. 0 = automatic rts flow control is disabled. (normal default condition) 1 = enable automatic rts flow control. efr bit-7: automatic cts flow control. logic 0 = automatic cts flow control is disabled. (normal default condition) logic 1 = enable automatic cts flow control. trans- mission will stop when -cts goes to a logical 1. transmission will resume when the -cts pin returns to a logical 0. fifo ready register this register is applicable to 100 pin xr16c854s only. the fifo resister provides the real time status of the transmit and receive fifo?s. each tx and rx cannel (a-d) has its own 128 byte fifo. when any of the eight tx/rx fifo?s become full, a bit associated with its tx/rx function and channel a-d is set in the fifo status register. fifo channel a-d rdy bit 0-3: 0 = the transmit fifo a-d associated with this bit is full. this channel will not accept any more transmit data. 1 = one or more empty locations exist in the fifo. fifordy bit 4-7: 0 = the receive fifo is above the programmed trigger level or time-out is occurred. 1 = receiver is ready and is below the programmed trigger level. feature control register this register controls the xr16c854 new functions that are not available on st16c550 or st16c650. fctr bit 0-1: user selectable -rts delay timer for hardware flow control application. after reset, these bits are set to ?0? to select the next trigger level for hardware flow control. fctr fctr trigger bit-1 bit-0 level 0 0 next trigger level 0 1 4 word+trigger level 1 0 6 word+trigger level 1 1 8 word+trigger level fctr bit-2: 0 = select rx input as encoded irda data. 1 = select rx input as active high encoded irda data. fctr bit-3: interrupt type select. 0 = standard st16c550 mode. transmitter generates interrupt when transmit holding register is empty and transmit shift register is shifting data out. 1 = transmit empty interrupt. transmit interrupt is generated when transmit holding and shift register is empty. fctr bit 4-5: transmit / receive trigger table select. fctr fctr table bit-5 bit-4 0 0 table-a (tx/rx) 0 1 table-b (tx/rx) 1 0 table-c (tx/rx) 1 1 table-d (tx/rx) fctr bit-6: register mode select. 0 = scratch pad register is selected as general read and write register. st16c550 compatible mode. 1 = fifo count register, enhanced mode select register. number of characters in transmit or receive holding register can be read via scratch pad register when this bit is set. enhanced mode is selected when it is written into it.
xr16c854 35 rev. 1.00p fctr bit-7: programmable trigger register select. 0 = receiver programmable trigger level register is selected. 1 = transmitter programmable trigger level register is selected. trigger level / fifo data count register user programmable transmit / receive trigger level register. trg bit 0-7: write only. these bits are used to programmed desire trigger levels that are not available in standard tables. trg bit 0-7: read only. transmit / receive fifo count. number of characters in transmit or receive fifo can be read via this register. enhanced mode select register this register is accessible only when fctr bit-6 is set to ?1?. emsr bit-0: ?write only? 0 = receive fifo count register. the scratch pad register is used to provide the receive fifo count when it is read. 1 = transmit fifo count register. the scratch pad register is used to provide the transmit fifo count when it is read. emsr bit-1: ?write only? 0 = normal. 1 = alternate receive - transmit fifo count. when emsr bit-0=1 and emsr bit=1, scratch pad register is used to provide the receive - transmit fifo count when it is read every alternate read cycle. the trg bit-7 will provide the fifo count mode information, trg bit-7=0 receive mode, trg bit-7=1 transmit mode. emsr bit 4-7: reserved for future use. xr16c854 external reset conditions registers reset state ier ier bits 0-7=0 isr isr bit-0=1, isr bits 1-7=0 lcr lcr bits 0-7=0 mcr mcr bits 0-7=0 lsr lsr bits 0-4=0, lsr bits 5-6=1 lsr, bit 7=0 msr msr bits 0-3=0, msr bits 4-7= input signals fcr fcr bits 0-7=0 efr efr bits 0-7=0 fctr fctr bits 0-7=0 emsr emsr bits 0-7=0 trg trg bits 0-7=0 signals reset state tx a-d high -rts a-d high -dtr a-d high -rxrdy a-d high -txrdy a-d low
xr16c854 36 rev. 1.00p symbol parameter limits limits units con ditions 3.3 5.0 min max min max ac electrical characteristics t a =0 - 70c (-40 - +85c for industrial grade packages), vcc=3.3 - 5.0 v 10% unless otherwise specified. t 1w, t 2w clock pulse duration 20 20 ns t 3w oscillator/clock frequency 8 24 mhz t 6s address setup time 10 5 ns t 7d -ior delay from chip select 10 10 ns t 7w -ior strobe width 50 25 ns t 7h chip select hold time from -ior 5 5 ns t 9d read cycle delay 50 50 ns t 12d delay from -ior to data 35 25 ns t 12h data disable time 35 35 35 ns t 13d -iow delay from chip select 10 10 ns t 13w -iow strobe width 40 40 ns t 13h chip select hold time from -iow 0 0 ns t 15d write cycle delay 50 50 ns t 16s data setup time 20 15 ns t 16h data hold time 50 35 ns t 17d delay from -iow to output 50 50 ns 100 pf load t 18d delay to set interrupt from modem 50 35 ns 100 pf load input t 19d delay to reset interrupt from -ior 50 35 ns 100 pf load t 20d delay from stop to set interrupt 1 rclk 1 rclk rclk t 21d delay from -ior to reset interrupt 200 200 ns 100 pf load t 22d delay from stop to interrupt 100 100 ns t 23d delay from initial int reset to transmit 8 24 8 24 rclk start t 24d delay from -iow to reset interrupt 175 175 ns t 25d delay from stop to set -rxrdy 1 1 rclk t 26d delay from -ior to reset -rxrdy 175 175 ns t 27d delay from -iow to set -txrdy 175 175 ns t 28d delay from start to reset -txrdy 8 8 rclk t 30s address setup time 10 10 ns t 30w chip select strobe width 40 40 ns t 30h address hold time 15 15 ns t 30d read cycle delay 70 70 ns t 31d delay from -cs to data 15 15 ns t 31h data disable time 15 ns t 32s write strobe setup time 10 10 ns t 32h write strobe hold time 10 10 ns t 32d write cycle delay 70 70 ns t 33s data setup time 20 15 ns
xr16c854 37 rev. 1.00p symbol parameter limits limits units con ditions 3.3 5.0 min max min max ac electrical characteristics t a =0 - 70c (-40 - +85c for industrial grade packages), vcc=3.3 - 5.0 v 10% unless otherwise specified. t 33h data hold time 10 10 ns t r reset pulse width 40 40 ns n baud rate devisor 1 2 16 -1 1 2 16 -1 rclk
xr16c854 38 rev. 1.00p symbol parameter limits limits units con ditions 3.3 5.0 min max min max absolute maximum ratings supply range 7 volts voltage at any pin gnd - 0.3 v to vcc +0.3 v operating temperature -40 c to +85 c storage temperature -65 c to 150 c package dissipation 500 mw dc electrical characteristics t a =0 - 70c (-40 - +85c for industrial grade packages), vcc=3.3 - 5.0 v 10% unless otherwise specified. v ilck clock input low level -0.3 0.6 -0.5 0.6 v v ihck clock input high level 2.4 vcc 3.0 vcc v v il input low level -0.3 0.8 -0.5 0.8 v v ih input high level 2.0 2.2 vcc v v ol output low level on all outputs 0.4 v i ol = 5 ma v ol output low level on all outputs 0.4 v i ol = 4 ma v oh output high level 2.4 v i oh = -5 ma v oh output high level 2.0 v i oh = -1 ma i il input leakage 10 10 m a i cl clock leakage 10 10 m a i cc avg power supply current 3 6 ma i cc avg stand by current 100 200 m a c p input capacitance 5 5 pf r in internal pull-up resistance 3 15 k w note: see the symbol description table, for a listing of pins having internal pull-up resistors.
xr16c854 39 rev. 1.00p general write timing in 68 mode general read timing in 68 mode a0-a4 -cs r/-w d0-d7 t30s t30h t30w t32s t32h t32d t33s t33h 8654-wd-1 -cs r/-w d0-d7 t30s t30h t31h t31d t30d t30w 8654-rd-1 a0-a4
xr16c854 40 rev. 1.00p general write timing in 16 mode general read timing in 16 mode a0-a2 -cs -iow d0-d7 t6s t13w t13d t13h t15d t16s t16h x654-wd-2 valid address active active data a0-a2 -cs -ior d0-d7 t6s t7w t7d t7h t9d t12d t12h x654-rd-2 active data valid address active
xr16c854 41 rev. 1.00p external clock timing modem input/output timing -iow -rts -dtr -cd -cts -dsr int -ior -ri t17d t18d t18d t19d t18d x654-md-1 active active change of state change of state active active active change of state change of state change of state active active t3w t1w t2w external clock x654-ck-1
xr16c854 42 rev. 1.00p receive timing stop bit parity bit data bits (5-8) d0 d1 d2 d3 d4 d5 d6 d7 5 data bits 6 data bits 7 data bits start bit rx next data start bit int -ior t20d t21d 16 baud rate clock x654-rx-1 active active
xr16c854 43 rev. 1.00p receive timing in fifo mode receive ready timing in none fifo mode stop bit parity bit data bits (5-8) d0 d1 d2 d3 d4 d5 d6 d7 start bit rx first byte that reaches the trigger level -rxrdy -ior t25d t26d x654-rx-3 active data ready active stop bit parity bit data bits (5-8) d0 d1 d2 d3 d4 d5 d6 d7 start bit rx next data start bit -rxrdy -ior t25d t26d x654-rx-2 active data ready active
xr16c854 44 rev. 1.00p transmit timing stop bit parity bit data bits (5-8) d0 d1 d2 d3 d4 d5 d6 d7 5 data bits 6 data bits 7 data bits start bit tx next data start bit int t22d t24d 16 baud rate clock x654-tx-1 -iow t23d active active tx ready active
xr16c854 45 rev. 1.00p transmit ready timing in none fifo mode stop bit parity bit data bits (5-8) d0 d1 d2 d3 d4 d5 d6 d7 start bit tx next data start bit -txrdy t28d x654-tx-2 -iow t27d byte #1 active active transmitter ready transmitter not ready d0-d7
xr16c854 46 rev. 1.00p transmit ready timing in fifo mode stop bit parity bit data bits (5-8) d0 d1 d2 d3 d4 d5 d6 d7 5 data bits 6 data bits 7 data bits start bit tx -iow d0-d7 -txrdy byte #128 t28d t27d x552-tx-3 fifo full active
xr16c854 47 rev. 1.00p infrared transmit timing infrared receive timing uart frame data bits start stop 0000 0 11 111 tx data irtx (a-d) tx bit time 1/2 bit time 3/16 bit time uart frame data bits start stop 0000 0 11 111 bit time 0-1 16x clock delay x654-ir-1 rx data irrx (a-d) rx
p a c k a g e d i m e n s i o n s
package dimensions a 0.055 0.063 1.40 1.60 a 1 0.002 0.006 0.05 0.15 a 2 0.053 0.057 1.35 1.45 b 0.005 0.009 0.13 0.23 c 0.004 0.008 0.09 0.20 d 0.465 0.480 11.80 12.20 d 1 0.390 0.398 9.90 10.10 e 0.020 bsc 0.50 bsc l 0.018 0.030 0.45 0.75 a 0 7 0 7 64 lead thin quad flat pack (10 x 10 x 1.4 mm, tqfp) rev. 2.00 symbol min max min max inches millimeters 48 33 32 17 116 49 64 d d 1 d d 1 b e a 2 a a 1 a seating plane note: the control dimension is the millimeter column l c
package dimensions 68 lead plastic leaded chip carrier (plcc) rev. 1.00 1 d d 1 d d 1 d 3 d 2 a a 1 268 a 0.165 0.200 4.19 5.08 a 1 0.090 0.130 2.29 3.30 a 2 0.020 . 0.51 b 0.013 0.021 0.33 0.53 b 1 0.026 0.032 0.66 0.81 c 0.008 0.013 0.19 0.32 d 0.985 0.995 25.02 25.27 d 1 0.950 0.958 24.13 24.33 d 2 0.890 0.930 22.61 23.62 d 3 0.800 typ. 20.32 typ. e 0.050 bsc 1.27 bsc h1 0.042 0.056 1.07 1.42 h2 0.042 0.048 1.07 1.22 r 0.025 0.045 0.64 1.14 symbol min max min max inches millimeters b a 2 b 1 e seating plane d 3 note: the control dimension is the inch column 45 x h2 45 x h1 c r
notice exar corporation reserves the right to make changes to the products contained in this publication in order to im- prove design, performance or reliability. exar corporation assumes no responsibility for the use of any circuits de- scribed herein, conveys no license under any patent or other right, and makes no representation that the circuits are free of patent infringement. charts and schedules contained here in are only for illustration purposes and may vary depending upon a user's specific application. while the information in this publication has been carefully checked; no responsibility, however, is assumed for inaccuracies. exar corporation does not recommend the use of any of its products in life support applications where the failure or malfunction of the product can reasonably be expected to cause failure of the life support system or to significantly affect its safety or effectiveness. products are not authorized for use in such applications unless exar corporation receives, in writing, assurances to its satisfaction that: (a) the risk of injury or damage has been minimized; (b) the user assumes all such risks; (c) potential liability of exar corporation is adequately protected under the circum- stances. copyright 1994 exar corporation reproduction, in part or whole, without the prior written consent of exar corporation is prohibited.


▲Up To Search▲   

 
Price & Availability of XR16C854DIV

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X